package com.lwy.service.impl;

import com.lwy.domain.Person;
import com.lwy.domain.Student;
import com.lwy.mapper.AdminMapper;
import com.lwy.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class AdminServiceImpl implements AdminService {

    @Autowired
    private AdminMapper adminMapper;


    @Override
    public Person getPerson() {
        Integer id = 32;
        Integer deleted = 0;
        return adminMapper.getPerson(id, deleted);
    }
}
